//
//  PushManager.h
//  18Birdies
//
//  Created by Lc on 15/7/6.
//  Copyright (c) 2015年 Lc. All rights reserved.
//

#import "LcSingleton.h"

#define NEW_PUSH_MESSAGE_NOTIFICATION @"NEW_PUSH_MESSAGE_NOTIFICATION"

@interface PushManager : LcSingleton

- (BOOL)authorizationNotDetermined;
- (BOOL)authorized;
- (BOOL)requestAuthorization;

- (void)requestPushAccessToken;

- (void)setRawDeviceToken:(NSData*)rawDeviceToken;
- (NSData*)rawDeviceToken;

- (void)requestPassivePushes;

@property(nonatomic, assign) BOOL needRequestPassivePush;

- (void)startBackgroundThread;

- (void)clear;

@end
